<style>
	.toolbar {
	    margin-bottom: 5px;
	}
	.toolbar, .toolbar-inner {
	    background: url("<?php echo $img_url; ?>toolbar.gif") repeat-x scroll 0 100% transparent;
	}
	.toolbar-inner {
	    height: 28px;
	    margin: auto;
	    width: 980px;
	}
	.toolbar-inner .userbar {
	    float: right;
	    margin-top: 3px;
	    white-space: nowrap;
	}
	.toolbar-inner .userbar a {
	    display: inline;
	    float: left;
	    height: 20px;
	    line-height: 20px;
	    margin-left: 10px;
	}
	.userbar a:link, .userbar a:visited {
	    color: #000000;
	}
	.userbar a:hover, .userbar a:active {
		color: #12459C;
		cursor: pointer;
	}
</style>

<div class="toolbar">
	<div class="clearfix toolbar-inner">
		<div class="userbar">
			<a href="#">用户名</a>
			<a href="#">消息</a>
			<a href="#">好友</a>
			<a href="#">退出</a>
		</div>
	</div>
</div>